package com.bwie.system.service.imp;

import com.bwie.common.domain.User;
import com.bwie.common.result.Result;
import com.bwie.system.mapper.UserMapper;
import com.bwie.system.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserServiceImp implements UserService {
    @Autowired
    private UserMapper userMapper;
    @Override
    public User findByUserPhone(String phone) {
        return userMapper.findByUserPhone(phone);
    }
}
